package com.wnxy.admin.common.handler;

import com.wnxy.admin.common.IErrorCode;

/*
*  系统异常枚举类
* */
public enum SysBusinessEnum implements IErrorCode {
    SYS_BUSY(500,"系统繁忙"),
    SYSTEM_BUSY(1000,"系统繁忙，请稍后重试！"),
    ;
    private Integer code;
    private String msg;

    SysBusinessEnum() {
    }

    SysBusinessEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public Integer getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }
}
